home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD 5.bin / workbench / libs / script.lzh / script_0.4 / script.readme < prev    next >
Text File  |  1996-12-22  |  1KB  |  26 lines

  1. Short:    script.library, replaces G/SetRexxVar()
  2. Author:   fasten@cs.bonn.edu (Bernhard Fastenrath)
  3. Uploader: fasten@cs.bonn.edu (Bernhard Fastenrath)
  4. Version:  0.4
  5. Type:     util/libs
  6.  
  7. script.library offers 2 functions which work like GetRexxVar()/SetRexxVar()
  8. but can be used in connection with other script languages than Rexx;
  9. if a RexxMsg from ARexx is given as 1st argument GetRexxVar()/SetRexxVar()
  10. are called:
  11.   LONG Script_SetRexxVar (RexxMsg *msg, char *name, char *value);
  12.   LONG Script_GetRexxVar (RexxMsg *msg, char *name, char **value);
  13.  
  14. There are 4 functions to allocate/deallocate/assign the variable lists of
  15. non-ARexx RexxMsgs:
  16.   ScriptContext *Script_AllocContext (void);
  17.   void Script_FreeContext (ScriptContext *sc);
  18.   void Script_SetMsgContext (RexxMsg *msg, ScriptContext *sc);
  19.   ScriptContext *Script_GetMsgContext (RexxMsg *msg);
  20.  
  21. If you would like to see any other service functions for different script
  22. languages integrated into script.library let me know.
  23. I'll add any future plans/ideas to the Amiga Pike (uLPC) homepage:
  24. http://titan.cs.bonn.edu/~fasten/pike.html
  25.  
  26.